.nav-bar {
  padding: 0 30upx;
  position: relative;
  height: 160upx;
  * {
    height: 100%;
    text-align: center;
  }
  &-header {
    display: flex;
    flex-flow: row nowrap;
    height: 88upx;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    &-btns {
      display: flex;
      flex-flow: row nowrap;
      width: auto;
      justify-content: space-between;
      align-items: center;
      text.right {
        margin-left: 5px;
      }
      .iconfont {
        margin-right: 5px;
      }
    }
    * {
      box-sizing: border-box;
    }
  }
  &-container {
    flex: 1;
    position: static;
    text-align: center;
    .title {
      font-size: 34upx;
    }
  }
  &-search {
    position: absolute;
    right: 0;
    bottom: 10px;
    left: 0;
    height: 60upx;
    line-height: 60upx;
    z-index: 100;
    background-color: #ffffff;
    padding-right: 10px;
    position: relative;
    &:before {
      position: absolute;
      top: 0;
      left: 4upx;
      width: 60upx;
      content: "\EA0E";
      display: block;
      font-size: 40upx;
      font-family: uni;
      text-align: center;
      color: #cccccc;
    }
    input,
    .uni-page-head-search-input {
      border-radius: 20upx;
      height: 60upx !important;
      line-height: 60upx !important;
      font-size: 28upx;
      background: #f4f4f4;
      border-radius: 10upx;
      box-sizing: border-box;
      text-align: left;
      * {
        height: 100% !important;
      }
    }
    .m-input-icon {
      z-index: 100;
      right: 6px;
      top: 0;
      position: absolute;
    }
    &.fixed {
      position: fixed !important;
      top: 0;
      padding-top: 50upx;
      padding-bottom: 10px;
      /* #ifdef H5 */
      height: 128upx;
      /* #endif */
      &:before {
        top: 52upx;
      }
    }
  }
  &-btns:last-child {
    margin-left: 10upx;
  }
  &-block {
    padding-top: 50upx;
    height: 170upx;
    .nav-bar-header-btns .city {
      font-weight: bold;
    }
	

    .nav-bar-search {
      position: absolute;
      left: 0;
      padding-left: 30upx;
      padding-right: 30upx;
      &:before {
        left: 40upx;
      }
    }
  }
  &-inline {
    height: auto;
    .nav-bar-header {
      height: 60upx;
      line-height: 60upx;
    }
  }
  &-default {
    height: 88upx;
    display: flex;
    align-items: center;
    padding-top: 40upx;
  }
}
